neighbor weight

This command specifies a default weight value for the neighbor’s routes.

Syntax

neighbor {<neighbor tag>|a.b.c.d|X:X::X:X} weight weight
neighbor peer {<neighbor tag>|a.b.c.d|X:X::X:X} weight weight

Command

Description

a.b.c.d|X:X::X:X

Defines the IP address of the neighbor (IPv4 or IPv6).

neighbor tag

Defines the neighbor tag.

weight

Defines the weight value in the range of 0 – 65535.

Default

NA

Command Mode

Privileged User

Example

This example specifies a default weight value for the neighbor’s routes.

(config-data)# router bgp 1
(conf-router)# neighbor 10.15.5.110 weight 1000